// 5.1 The while statement

#include <stdio.h>
int main()
{
    int count;

    count=1;  /*initialize count*/
    while(count<=10)
    {
        printf("%d ",count);
        count++;    /*add 1 to count*/
    }

    printf("\n");  /*print a blank line*/

    return 0;
}